package bravo.xc.com.xc_bravo_android.operation.person_center;

import android.content.Context;

import bravo.xc.com.xc_bravo_android.base.BasePresenter;
import bravo.xc.com.xc_bravo_android.base.BaseView;
import bravo.xc.com.xc_bravo_android.beans.SendCodeBeans;

/**
 * CREATED BY YANK
 * DATE : 2017/10/28
 * MAIL : YANK.TENYOND@GMAIL.COM
 * FUNCTION :
 */

public interface PersonalCenterContract {

    interface PersonalCenterView extends BaseView {
        void toNewActivity(int intent);
        void removeUserInfo();
        void showProgress(boolean show);
    }

    abstract class PersonalCenterPresenter extends BasePresenter<PersonalCenterView> {
        public abstract void logout(SendCodeBeans sendCodeBeans, Context contexts);
    }
}
